load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "ir",
    srcs = [
        "blockopt.go",
        "builder.go",
        "const.go",
        "create.go",
        "doc.go",
        "dom.go",
        "emit.go",
        "exits.go",
        "func.go",
        "html.go",
        "identical.go",
        "identical_17.go",
        "lift.go",
        "lvalue.go",
        "methods.go",
        "mode.go",
        "print.go",
        "sanity.go",
        "source.go",
        "ssa.go",
        "util.go",
        "wrappers.go",
        "write.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/honnef.co/go/tools/ir",
    importpath = "honnef.co/go/tools/ir",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/golang.org/x/tools/go/ast/astutil",
        "//vendor/golang.org/x/tools/go/types/typeutil",
    ],
)
